#include "myconfig.h"
#include <QSettings>
#include <QDebug>

QSettings* MyConfig::settings=new QSettings(":/resources/config/config.ini",QSettings::IniFormat);

QString MyConfig::getConfigString(QString key)
{
    return settings->value(key).toString();
}

int MyConfig::getConfigInt(QString key)
{
    return settings->value(key).toInt();
}

double MyConfig::getConfigDouble(QString key)
{
    return settings->value(key).toDouble();
}
